package com.zr.mapper.car;

import com.zr.vo.CarWorkSelectBean;
import com.zr.vo.car.Work;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public interface WorkMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Work record);

    int insertSelective(Work record);

    Work selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Work record);

    int updateByPrimaryKey(Work record);

    List<CarWorkSelectBean> listByCarWorkSelectBean(@NotNull CarWorkSelectBean workBean);

    @NotNull
    Work selectByOrderId(@Nullable Long orderId);
}